{ ... }:
{
  # Enable the X11 windowing system.
  services.xserver = {
    enable = true;
    layout = "us,ru";
    xkbOptions = "grp:caps_toggle,compose:rctrl";
    desktopManager.xterm.enable = false;
    wacom.enable = true;
    displayManager = {
      startx.enable = true;
    };
  };

  programs.dconf.enable = true;

  # Enable touchpad support (enabled default in most desktopManager).
  services.xserver.libinput = {
    enable = true;    
    mouse = {
      # disabling acceleration
      accelProfile = "flat";
    };
    touchpad = {
      accelProfile = "flat";
      # buttonMapping = "";
      disableWhileTyping = false;
    };
  };
}
